﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Models;

namespace BLL
{
    public class SampleManager
    {
        private SampleService objSampleService = new SampleService();

        public int InsertInfo(Sample sample, string tableName)
        {
            return objSampleService.InsertInfo(sample, tableName);
        }

        public int UpdateInfo(Sample sample, string tableName)
        {
            return objSampleService.UpdateInfo(sample, tableName);
        }

        public Sample GetInfo(int workParentId, string tableName)
        {
            return objSampleService.GetInfo(workParentId, tableName);
        }
    }
}
